package com.yidu.springbootdemo.permission.dao;

import com.yidu.springbootdemo.permission.domain.Tcharacter;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;
@Mapper
public interface TcharacterMapper {
	int deleteByPrimaryKey(String chaId);

	int insert(Tcharacter record);

	int insertSelective(Tcharacter record);

	Tcharacter selectByPrimaryKey(String chaId);

	int updateByPrimaryKeySelective(Tcharacter record);

	int updateByPrimaryKey(Tcharacter record);
	
	public List<Tcharacter> findAll(Map<String, Object> map);

	public List<Tcharacter> findAll2();

	public Tcharacter findByID(String chaID);

	public int count(Tcharacter tch);
	
}